home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9109 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Help referencing an array of strings
  5. Date: 05 Mar 1996 23:43:29 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Mar5164329@qcd.lanl.gov>
  8. References: <313C7F02.5D54@interramp.com>
  9. NNTP-Posting-Host: qcd.lanl.gov
  10. Mime-Version: 1.0
  11. Content-Type: text
  12. In-reply-to: "James A. Clifton"'s message of Tue, 05 Mar 1996 12:50:58 -0500
  13.  
  14. In article <313C7F02.5D54@interramp.com>
  15. "James A. Clifton" <jclifton@interramp.com> writes:
  16.  
  17. <snip>
  18. AC: I know how to reference the Mth character in the Nth string:
  19. AC: 
  20. AC: s.sa[n][m]
  21. AC: 
  22. AC: But not the Nth entire string, I've tryed:
  23. AC: 
  24. AC: s.sa[n][] and *s.sa[n] but neither works.
  25.  
  26. Try the simple before the more complicated:
  27.  
  28. s.sa[n]
  29.  
  30. Cheers
  31. Tanmoy
  32. --
  33. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  34. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  35. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  36. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  37. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  38. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  39.